package com.bw.service;

import com.bw.mapper.TmsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TmsServiceImp implements TmsService {
    @Autowired(required = false)
    TmsMapper tmsMapper;
    @Override
    public List<Map> total(String nowDate) {
        return tmsMapper.total(nowDate);
    }

    @Override
    public List<Map> cargTotal(String nowDate) {
        return tmsMapper.cargTotal(nowDate);
    }

    @Override
    public List<Map> regTotal(String nowDate) {
        return tmsMapper.regTotal(nowDate);
    }

    @Override
    public List<Map> proCount(String nowDate) {
        return tmsMapper.proCount(nowDate);
    }
}
